package com.feiyu.gateway.feign;

import com.feiyu.gateway.entity.accountInfoEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author: Doate
 * @Date: Created in 2021/4/12 19:13
 * @Description:
 */

@Component
@FeignClient("feiyumall-account")
public interface AccountFeign {

    @PostMapping("/check")
    public accountInfoEntity loginCheck(@RequestBody String token);


}
